﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000063 RID: 99
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AetherDivideSpiritExpUpScRsp : IMessage<AetherDivideSpiritExpUpScRsp>, IMessage, IEquatable<AetherDivideSpiritExpUpScRsp>, IDeepCloneable<AetherDivideSpiritExpUpScRsp>, IBufferMessage
	{
		// Token: 0x1700013B RID: 315
		// (get) Token: 0x06000463 RID: 1123 RVA: 0x0000D747 File Offset: 0x0000B947
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AetherDivideSpiritExpUpScRsp> Parser
		{
			get
			{
				return AetherDivideSpiritExpUpScRsp._parser;
			}
		}

		// Token: 0x1700013C RID: 316
		// (get) Token: 0x06000464 RID: 1124 RVA: 0x0000D74E File Offset: 0x0000B94E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AetherDivideSpiritExpUpScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700013D RID: 317
		// (get) Token: 0x06000465 RID: 1125 RVA: 0x0000D760 File Offset: 0x0000B960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AetherDivideSpiritExpUpScRsp.Descriptor;
			}
		}

		// Token: 0x06000466 RID: 1126 RVA: 0x0000D767 File Offset: 0x0000B967
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritExpUpScRsp()
		{
		}

		// Token: 0x06000467 RID: 1127 RVA: 0x0000D770 File Offset: 0x0000B970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritExpUpScRsp(AetherDivideSpiritExpUpScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.aKFMFBKKEOI_ = other.aKFMFBKKEOI_;
			this.avatarInfo_ = ((other.avatarInfo_ != null) ? other.avatarInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000468 RID: 1128 RVA: 0x0000D7C8 File Offset: 0x0000B9C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritExpUpScRsp Clone()
		{
			return new AetherDivideSpiritExpUpScRsp(this);
		}

		// Token: 0x1700013E RID: 318
		// (get) Token: 0x06000469 RID: 1129 RVA: 0x0000D7D0 File Offset: 0x0000B9D0
		// (set) Token: 0x0600046A RID: 1130 RVA: 0x0000D7D8 File Offset: 0x0000B9D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700013F RID: 319
		// (get) Token: 0x0600046B RID: 1131 RVA: 0x0000D7E1 File Offset: 0x0000B9E1
		// (set) Token: 0x0600046C RID: 1132 RVA: 0x0000D7E9 File Offset: 0x0000B9E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AKFMFBKKEOI
		{
			get
			{
				return this.aKFMFBKKEOI_;
			}
			set
			{
				this.aKFMFBKKEOI_ = value;
			}
		}

		// Token: 0x17000140 RID: 320
		// (get) Token: 0x0600046D RID: 1133 RVA: 0x0000D7F2 File Offset: 0x0000B9F2
		// (set) Token: 0x0600046E RID: 1134 RVA: 0x0000D7FA File Offset: 0x0000B9FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AetherDivideSpiritInfo AvatarInfo
		{
			get
			{
				return this.avatarInfo_;
			}
			set
			{
				this.avatarInfo_ = value;
			}
		}

		// Token: 0x0600046F RID: 1135 RVA: 0x0000D803 File Offset: 0x0000BA03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AetherDivideSpiritExpUpScRsp);
		}

		// Token: 0x06000470 RID: 1136 RVA: 0x0000D814 File Offset: 0x0000BA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AetherDivideSpiritExpUpScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.AKFMFBKKEOI == other.AKFMFBKKEOI && object.Equals(this.AvatarInfo, other.AvatarInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000471 RID: 1137 RVA: 0x0000D874 File Offset: 0x0000BA74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.AKFMFBKKEOI != 0U)
			{
				num ^= this.AKFMFBKKEOI.GetHashCode();
			}
			if (this.avatarInfo_ != null)
			{
				num ^= this.AvatarInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000472 RID: 1138 RVA: 0x0000D8E2 File Offset: 0x0000BAE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000473 RID: 1139 RVA: 0x0000D8EA File Offset: 0x0000BAEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000474 RID: 1140 RVA: 0x0000D8F4 File Offset: 0x0000BAF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AKFMFBKKEOI != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.AKFMFBKKEOI);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.avatarInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.AvatarInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000475 RID: 1141 RVA: 0x0000D96C File Offset: 0x0000BB6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.AKFMFBKKEOI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AKFMFBKKEOI);
			}
			if (this.avatarInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AvatarInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000476 RID: 1142 RVA: 0x0000D9DC File Offset: 0x0000BBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AetherDivideSpiritExpUpScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.AKFMFBKKEOI != 0U)
			{
				this.AKFMFBKKEOI = other.AKFMFBKKEOI;
			}
			if (other.avatarInfo_ != null)
			{
				if (this.avatarInfo_ == null)
				{
					this.AvatarInfo = new AetherDivideSpiritInfo();
				}
				this.AvatarInfo.MergeFrom(other.AvatarInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000477 RID: 1143 RVA: 0x0000DA58 File Offset: 0x0000BC58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000478 RID: 1144 RVA: 0x0000DA64 File Offset: 0x0000BC64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.avatarInfo_ == null)
							{
								this.AvatarInfo = new AetherDivideSpiritInfo();
							}
							input.ReadMessage(this.AvatarInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.AKFMFBKKEOI = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400018C RID: 396
		private static readonly MessageParser<AetherDivideSpiritExpUpScRsp> _parser = new MessageParser<AetherDivideSpiritExpUpScRsp>(() => new AetherDivideSpiritExpUpScRsp());

		// Token: 0x0400018D RID: 397
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400018E RID: 398
		public const int RetcodeFieldNumber = 13;

		// Token: 0x0400018F RID: 399
		private uint retcode_;

		// Token: 0x04000190 RID: 400
		public const int AKFMFBKKEOIFieldNumber = 11;

		// Token: 0x04000191 RID: 401
		private uint aKFMFBKKEOI_;

		// Token: 0x04000192 RID: 402
		public const int AvatarInfoFieldNumber = 15;

		// Token: 0x04000193 RID: 403
		private AetherDivideSpiritInfo avatarInfo_;
	}
}
